import React from 'react'

export default class Home extends React.Component {
  render() {
    return <div>
      <h2>首页</h2>
      <input type="button" value="去关于" onClick={()=>this.goAbout()}/>
    </div>

  }

  goAbout = () => {
    // this.props.history.push('/about/mm')
    this.props.history.go(-1)
  }
}